package com.chennan.pattern.chain.low.impl;

import com.chennan.pattern.chain.low.AbstractPrepareFilter;
import com.chennan.pattern.chain.low.PreparationList;

/**
 * @author chennan
 * @createTime 2022年02月24日 16:21:00
 */
public class WashFaceFilter extends AbstractPrepareFilter {
    public WashFaceFilter(AbstractPrepareFilter nextPrepareFilter) {
        super(nextPrepareFilter);
    }

    @Override
    public void prepare(PreparationList preparationList) {
        if(preparationList.isWashFace()){
            System.out.println("洗脸。。。。。");
        }
    }
}
